/*
过磅监控

*/

import httpRequest from '@/utils/httpRequest'
// 获取过磅监控
export function getWeightMonitor (data) {
    return httpRequest({
        url: '/monitor/getWeightMonitor',
        method: 'get',
        params: data
    })
}
//车牌识别
export function getTransByTruckNumber (data) {
    return httpRequest({
        url: '/monitor/getTransByTruckNumber',
        method: 'get',
        params: data
    })
}
//选择派车单
export function identifiedTrue (data) {
    return httpRequest({
        url: '/monitorSetting/identifiedTrue',
        method: 'post',
        data: data
    })
}
//更新预警状态
export function updWarnState (data) {
    return httpRequest({
        url: '/monitor/updWarnState',
        method: 'post',
        data: data
    })
}
//确认出门
export function updState (data) {
    return httpRequest({
        url: '/monitor/updState',
        method: 'post',
        params: data
    })
}

//处理预警
export function dealWarn (data) {
    return httpRequest({
        url: '/monitor/dealWarn',
        method: 'post',
        data: data
    })
}
//处理多派车单预警
export function dealMultipleTrans (data) {
    return httpRequest({
        url: '/monitor/dealMultipleTrans',
        method: 'post',
        data: data
    })
}
//核对装卸车费
export function payFare (data) {
    return httpRequest({
        url: '/monitor/payFare',
        method: 'post',
        data: data
    })
}
//作废
export function invalid (data) {
    return httpRequest({
        url: '/monitor/invalid',
        method: 'post',
        data: data
    })
}
//确认铅封
export function confirmLeadSeal (data) {
    return httpRequest({
        url: '/monitor/confirmLeadSeal',
        method: 'post',
        data: data
    })
}

//确认出厂
export function factoryInspection (data) {
    return httpRequest({
        url: '/monitor/factoryInspection',
        method: 'post',
        data: data
    })
}
// 获取出门监控
export function goOut (data) {
    return httpRequest({
        url: '/monitor/goOut',
        method: 'get',
        params: data
    })
}

// 获取进门监控
export function comeIn (data) {
    return httpRequest({
        url: '/monitor/comeIn',
        method: 'get',
        params: data
    })
}

//治超信息
export function getGovernance (data) {
    return httpRequest({
        url: '/monitor/getGovernance',
        method: 'get',
        params: data
    })
}

//发送消息
export function sendLEDMsg (data) {
    return httpRequest({
        url: '/monitorSetting/sendLEDMsg',
        method: 'post',
        data: data
    })
}
//恢复磅房
export function recoveryDevice (data) {
    return httpRequest({
        url: '/monitorSetting/RecoveryDevice',
        method: 'post',
        data: data
    })
}
//磅表归零
export function returnToZero (data) {
    return httpRequest({
        url: '/monitorSetting/ReturnToZero',
        method: 'post',
        data: data
    })
}

//锁磅
export function lockDevice (data) {
    return httpRequest({
        url: '/monitorSetting/lockDevice',
        method: 'post',
        data: data
    })
}
